namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0136 : DbMigration
    {
        public override void Up()
        {
            RenameTable(name: "dbo.HrmSystemControls", newName: "hrm_system_controls");
            RenameColumn(table: "dbo.hrm_system_controls", name: "hrm_sys_control_name", newName: "name");
            RenameColumn(table: "dbo.hrm_system_controls", name: "hrm_sys_control_value", newName: "value");
        }
        
        public override void Down()
        {
            RenameColumn(table: "dbo.hrm_system_controls", name: "value", newName: "hrm_sys_control_value");
            RenameColumn(table: "dbo.hrm_system_controls", name: "name", newName: "hrm_sys_control_name");
            RenameTable(name: "dbo.hrm_system_controls", newName: "HrmSystemControls");
        }
    }
}
